<template>
    <div id="echarts"></div>
</template>

<script>
export default {
    props : ['option '],
    created(){
        this.echarts = this.$echarts.init(document.getElementById('echarts'))

        this.echarts.setOption()

    }
}
</script>

<style>

</style>